package model

import "time"

type Comments struct {
	Id        uint64    `gorm:"column:id;type:bigint UNSIGNED;primaryKey;not null;" json:"id"`
	CreatedAt time.Time `gorm:"column:created_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"created_at"`
	Num       int64     `gorm:"column:num;type:bigint;comment:数量;not null;" json:"num"`               // 数量
	Content   string    `gorm:"column:content;type:varchar(255);comment:内容;not null;" json:"content"` // 内容
}
